var limsQualitycontrolTestResultManageSave = Gikam.getPageObject({

    getEditListColumns: function () {
        return [{
            checkbox: true
        }, {
            index: true
        }, {
            field: 'controlMaterialName',
            title: 'T_LIMS_QUALITYCONTROL_TEST_RESULT.CONTROLMATERIALNAME',
            width: 160
        }, {
            field: 'mainBatchCode',
            title: 'T_LIMS_QUALITYCONTROL_TEST_RESULT.MAINBATCHCODE',
            width: 160
        }, {
            field: 'controlMaterialLevel',
            title: 'T_LIMS_QUALITYCONTROL_TEST_RESULT.CONTROLMATERIALLEVEL',
            type: 'select',
            category: 'sys',
            multiple: true,
            param: {
                codeCategoryId: 'controlMaterialLevel'
            },
            width: 160
        }, {
            field: 'equipmentName',
            title: 'T_LIMS_QUALITYCONTROL_TEST_RESULT.EQUIPMENTNAME',
            width: 160
        }, {
            // field: 'professionalGroup',
            field: 'ext$.professionalgrouptext',
            title: 'T_LIMS_QUALITYCONTROL_TEST_RESULT.PROFESSIONALGROUP',
            // type: 'select',
            // category: 'sys',
            // param: {
            //     codeCategoryId: 'qualityControl-professionalGroup'
            // },
            width: 160
        }, {
            field: 'productCode',
            title: 'T_LIMS_QUALITYCONTROL_TEST_RESULT.PRODUCTCODE',
            width: 160
        }, {
            field: 'productName',
            title: 'T_LIMS_QUALITYCONTROL_TEST_RESULT.PRODUCTNAME',
            width: 160
        }, {
            field: 'methodDesc',
            title: 'T_LIMS_QUALITYCONTROL_TEST_RESULT.METHODDESC',
            width: 160
        }, {
            field: 'ext$.controlrulename',
            title: 'T_LIMS_QUALITYCONTROL_TEST_RESULT_MANAGE.CONTROLRULE',
            sort: false,
            width: 160
        }, {
            field: 'testResult',
            title: 'T_LIMS_QUALITYCONTROL_TEST_RESULT.TESTRESULT',
            width: 160
        }, {
            field: 'resultSaveTime',
            title: 'T_LIMS_QUALITYCONTROL_TEST_RESULT.RESULTSAVETIME',
            width: 160
        }, {
            field: 'averageForResult',
            title: 'T_LIMS_QUALITYCONTROL_TEST_RESULT_MANAGE.AVERAGEFORRESULT',
            width: 160
        }, {
            field: 'standardDeviationForResult',
            title: 'T_LIMS_QUALITYCONTROL_TEST_RESULT_MANAGE.STANDARDDEVIATIONFORRESULT',
            width: 160
        }, {
            field: 'cvForResult',
            title: 'T_LIMS_QUALITYCONTROL_TEST_RESULT_MANAGE.CVFORRESULT',
            width: 160
        }, {
            field: 'relativeValue',
            title: 'T_LIMS_QUALITYCONTROL_TEST_RESULT_MANAGE.RELATIVEVALUE',
            width: 160
        }, {
            field: 'outOfControlReason',
            title: 'T_LIMS_QUALITYCONTROL_TEST_RESULT_MANAGE.OUTOFCONTROLREASON',
            width: 160
        }, {
            field: 'howToHandle',
            title: 'T_LIMS_QUALITYCONTROL_TEST_RESULT_MANAGE.HOWTOHANDLE',
            width: 160
        }, {
            field: 'auditerName',
            title: 'T_LIMS_QUALITYCONTROL_TEST_RESULT_MANAGE.AUDITERNAME',
            width: 160
        }, {
            field: 'auditTime',
            title: 'T_LIMS_QUALITYCONTROL_TEST_RESULT_MANAGE.AUDITTIME',
            type: 'dateTime',
            width: 160
        }, {
            field: 'createdByName',
            title: 'T_LIMS_QUALITYCONTROL_TEST_RESULT_MANAGE.CREATEDBYNAME',
            width: 160
        }, {
            field: 'createdTime',
            title: 'T_LIMS_QUALITYCONTROL_TEST_RESULT_MANAGE.CREATEDTIME',
            width: 160
        }, {
            field: 'abnormalDesc',
            title: 'T_LIMS_QUALITYCONTROL_TEST_RESULT_MANAGE.ABNORMALDESC',
            width: 160
        }];
    },

    getBaseInfoFormFields: function () {
        return [{
            field: 'testCode',
            title: 'T_LIMS_QUALITYCONTROL_TEST_RESULT_MANAGE_SAVE.TESTCODE',
            validators: ['strLength[0,66]']
        },];
    },

    baseUrl: IFM_CONTEXT + '/secure/basemodule/business/qualitycontrol/qualitycontrol-test-result-manage-saves'
});
